home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 051-075 / disk_064 / docs / addenda / head < prev    next >
Text File  |  1992-05-06  |  2KB  |  67 lines

  1. TITLE:  HEAD  (FORM used by Flow - New Horizons Software, Inc.)
  2.  
  3. IFF FORM / CHUNK DESCRIPTION
  4. ============================
  5.  
  6. Form/Chunk ID:  FORM HEAD, Chunks NEST, TEXT, FSCC
  7.  
  8. Date Submitted: 03/87
  9. Submitted by:   James Bayless - New Horizons Software, Inc.
  10.  
  11.  
  12. FORM
  13. ====
  14.  
  15. FORM ID:  HEAD
  16.  
  17. FORM Description: 
  18.  
  19.    FORM HEAD is the file storage format of the Flow idea processor
  20. by New Horizons Software, Inc.  Currently only the TEXT and NEST
  21. chunks are used.  There are plans to incorporate FSCC and some
  22. additional chunks for headers and footers.
  23.  
  24.  
  25. CHUNKS
  26. ======
  27.  
  28. CHUNK ID:  NEST
  29.  
  30.    This chunk consists of only of a word (two byte) value that gives
  31. the new current nesting level of the outline.  The initial nesting level
  32. (outermost level) is zero.  It is necessary to include a NEST chunk only
  33. when the nesting level changes.  Valid changes to the nesting level are
  34. either to decrease the current value by any amount (with a minimum of 0)
  35. or to increase it by one (and not more than one).
  36.  
  37.  
  38. CHUNK ID:  TEXT
  39.  
  40.    This chunk is the actual text of a heading.  Each heading has a TEXT
  41. chunk (even if empty).  The text is not NULL terminated - the chunk
  42. size gives the length of the heading text.
  43.  
  44.  
  45. CHUNK ID: FSCC
  46.  
  47.    This chunk gives the Font/Style/Color changes in the heading from the
  48. most recent TEXT chunk.  It should occur immediately after the TEXT chunk
  49. it modifies.  The format is identical to the FSCC chunk for the IFF
  50. form type 'WORD' (for compatibility), except that only the 'Location'
  51. and 'Style' values are used (i.e., there can be currently only be style
  52. changes in an outline heading).  The structure definition is:
  53.  
  54. typedef struct {
  55.    UWORD   Location;   /* Char location of change */
  56.    UBYTE   FontNum;    /* Ignored */
  57.    UBYTE   Style;      /* Amiga style bits */
  58.    UBYTE   MiscStyle;  /* Ignored */
  59.    UBYTE   Color;      /* Ignored */
  60.    UWORD   pad;        /* Ignored */
  61. } FSCChange;
  62.  
  63.    The actual chunk consists of an array of these structures, one entry
  64. for each Style change in the heading text.
  65.  
  66.  
  67.